import React, { Component } from 'react'
import ReactDOM from 'react-dom'

export default class App extends Component {
  render() {
    return ReactDOM.createPortal(
      <div>
        <h1>传送门portal的基本使用</h1>
      </div>, document.body
    )
  }
}
